package com.repast.dao;

import java.util.List;

import com.repast.pojo.Foods;
import org.apache.ibatis.annotations.Param;

public interface FoodsMapper {
    int deleteByPrimaryKey(Integer foodsId);

    int insert(Foods record);

    int insertSelective(Foods record);

    Foods selectByPrimaryKey(Integer foodsId);

    int updateByPrimaryKeySelective(Foods record);

    int updateByPrimaryKey(Foods record);

	List<Foods> selectFoodsByFoodsTypeId(@Param("foodsTypeId") Integer foodsTypeId, @Param("status")Integer status);

	List<Foods> selectGoodsList(Integer status);
}